go/types.Context.lookup (method)

4 uses

	go/types (current package)
		context.go#L67: func (ctxt *Context) lookup(h string, orig Type, targs []Type) Type {
		instantiate.go#L72: 		if inst := ctxt.lookup(h, orig, targs); inst != nil {
		subst.go#L252: 		if named := subst.ctxt.lookup(h, t.orig, newTArgs); named != nil {
		typexpr.go#L434: 	inst, _ := ctxt.lookup(h, orig, targs).(*Named)